﻿using System;
using KPIS.GERP.GIMS.MODEL;
using System.Collections.Generic;
using KPIS.DBM;

namespace KPIS.GERP.GIMS.IDAL
{
    public interface IDALPrePurchaseRequestCommittee
    {
        IList<PrePurchaseRequestCommitteeInfo> GetPrePurchaseRequestCommittee();
        IList<PrePurchaseRequestCommitteeInfo> GetPrePurchaseRequestCommittee(string record_status);
        PrePurchaseRequestCommitteeInfo GetPrePurchaseRequestCommittee(int seq);
        IList<PrePurchaseRequestCommitteeInfo> GetPrePurchaseRequestCommitteeWithParent(int ppr_seq);
        void Insert(IList<PrePurchaseRequestCommitteeInfo> infoList, int ppr_seq);
        void Insert(IList<PrePurchaseRequestCommitteeInfo> infoList, int ppr_seq, IDBManager dbManagerTrans);
        void Update(PrePurchaseRequestCommitteeInfo info);
        void Delete(PrePurchaseRequestCommitteeInfo info);
        void DeleteAll(IList<PrePurchaseRequestCommitteeInfo> infoList);
        void DeleteFromDB(IList<PrePurchaseRequestCommitteeInfo> infoList);
        void Restore(IList<PrePurchaseRequestCommitteeInfo> infoList);
        IList<PrePurchaseRequestCommitteeInfo> getPrePurchaseRequestCommitteeHistory(int PrSeq);
        IList<PrePurchaseRequestCommitteeInfo> GetPurchaseOrderCommitteeHistory(int BidderSeq);
    }
}
